package com.mz.ozy.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mz.ozy.R;
import com.mz.ozy.bean.ExchangeOrderBean;
import com.mz.ozy.bean.HomeMerBean;
import com.mz.ozy.bean.MeItemBean;
import com.mz.ozy.utils.glideUtils.GlideUtils;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

public class MeItemAdapter extends BaseQuickAdapter<MeItemBean, BaseViewHolder> {

    public MeItemAdapter(List<MeItemBean> data) {
        super(R.layout.item_me_item, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MeItemBean item) {
        helper.setText(R.id.tv_title, item.getTitle());
        helper.setImageResource(R.id.iv_item, item.getImgId());
    }
}
